package com.zbkj.service.service.mszs;


import com.zbkj.common.request.PageParamRequest;
import com.zbkj.common.request.mszs.MszsRoomWifiRequest;
import com.zbkj.common.request.mszs.MszsRoomWifiSelectRequest;
import com.zbkj.common.response.mszs.MszsRoomWifiResponse;

import java.util.List;

/**
 * @description 民宿助手-wifi信息-service接口
 * @author lingfe
 * @date 2023-11-16
 */
public interface MszsRoomWifiService {

    /**
     * wifi信息--新增
     * @param request
     * @return
     */
    boolean insert(MszsRoomWifiRequest request);

    /**
     * wifi信息--修改
     * @param request
     * @return
     */
    boolean update(MszsRoomWifiRequest request);

    /**
     * wifi信息--删除
     * @param id
     * @return
     */
    boolean delete(Integer id);

    /**
     *根据主键 id 查询
     * @param id
     * @return
     */
    MszsRoomWifiResponse load(Integer id);

    /**
     * wifi信息列表
     * @param request
     * @param pageParamRequest
     * @return
     */
    List<MszsRoomWifiResponse> pageList(MszsRoomWifiSelectRequest request, PageParamRequest pageParamRequest);


}
